﻿package idv.etrex.display
{
	
	/**
	 * 給GraphicsBat使用。
	 * 
	 * @author etrex
	 */
	public interface IGraphics
	{
		/**
		 * graphics指令
		 */
		function beginFill(color:uint, alpha:Number = 1.0):void;
		/**
		 * graphics指令
		 */
		function clear():void;
		/**
		 * graphics指令
		 */
		function drawCircle(x:Number, y:Number, radius:Number):void;
		/**
		 * graphics指令
		 */
		function drawEllipse(x:Number, y:Number, width:Number, height:Number):void;
		/**
		 * graphics指令
		 */
		function drawRect(x:Number, y:Number, width:Number, height:Number):void;
		/**
		 * graphics指令
		 */
		function drawRoundRect(x:Number, y:Number, width:Number, height:Number, ellipseWidth:Number, ellipseHeight:Number = NaN):void;
		/**
		 * graphics指令
		 */
		function endFill():void;
		/**
		 * graphics指令
		 */
		function lineStyle(thickness:Number = NaN, color:uint = 0, alpha:Number = 1.0, pixelHinting:Boolean = false, scaleMode:String = "normal", caps:String = null, joints:String = null, miterLimit:Number = 3):void;
		/**
		 * graphics指令
		 */
		function moveTo(x:Number, y:Number):void;
		/**
		 * graphics指令
		 */
		function lineTo(x:Number, y:Number):void;
	}
	
}